package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报量单详情对象 tb_dose_detail
 *
 * @author ruoyi
 * @date 2024-08-30
 */
public class DoseDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 0小学 1初中
     */
    @Excel(name = "0小学 1初中")
    private Integer type;

    /**
     * 报量单id
     */
    @Excel(name = "报量单id")
    private Long orderId;

    /**
     * 日期
     */
    @Excel(name = "日期")
    private String week;

    /**
     * 周几
     */
    @Excel(name = "周几")
    private String weekTag;

    /**
     * 早餐，午餐，晚餐
     */
    @Excel(name = "早餐，午餐，晚餐")
    private String time;

    /**
     * 菜谱id id为null则为单品
     */
    @Excel(name = "菜谱id id为null则为单品")
    private Long menuId;

    /**
     * 套餐id 小学才有
     */
    @Excel(name = "套餐id 小学才有")
    private Long mealId;

    /**
     * 行业类目id
     */
    private Long cateId;

    /**
     * 分类id
     */
    @Excel(name = "分类id")
    private Long typeId;

    /**
     * 规格id
     */
    @Excel(name = "规格id")
    private Long specId;

    /**
     * 单位id
     */
    @Excel(name = "单位id")
    private Long brandId;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal num;

    /**
     * 用餐人数
     */
    private BigDecimal useNum;

    /**
     * 0正常 1删除
     */
    @Excel(name = "0正常 1删除")
    private Integer deleted;

    /**
     * 学校id
     */
    private Long schoolId;

    /**
     * 留样图片
     */
    private String sampleImage;

    /**
     * 行业类目名称
     */
    private String cateName;
    /**
     * 分类名称
     */
    private String typeName;
    /**
     * 规格名称
     */
    private String specName;
    /**
     * 单位名称
     */
    private String brandName;
    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 套餐内菜谱列表
     */
    private List<MealDetail> mealDetails;

    /**
     * 报量单id_查询用
     */
    private Long[] orderIds;

    public Long[] getOrderIds() {
        return orderIds;
    }

    public void setOrderIds(Long[] orderIds) {
        this.orderIds = orderIds;
    }

    public String getSampleImage() {
        return sampleImage;
    }

    public void setSampleImage(String sampleImage) {
        this.sampleImage = sampleImage;
    }

    public List<MealDetail> getMealDetails() {
        return mealDetails;
    }

    public void setMealDetails(List<MealDetail> mealDetails) {
        this.mealDetails = mealDetails;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getCateId() {
        return cateId;
    }

    public void setCateId(Long cateId) {
        this.cateId = cateId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getWeek() {
        return week;
    }

    public void setWeekTag(String weekTag) {
        this.weekTag = weekTag;
    }

    public String getWeekTag() {
        return weekTag;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTime() {
        return time;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMealId(Long mealId) {
        this.mealId = mealId;
    }

    public Long getMealId() {
        return mealId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setSpecId(Long specId) {
        this.specId = specId;
    }

    public Long getSpecId() {
        return specId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    public BigDecimal getNum() {
        return num;
    }

    public BigDecimal getUseNum() {
        return useNum;
    }

    public void setUseNum(BigDecimal useNum) {
        this.useNum = useNum;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getDeleted() {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("type", getType())
                .append("orderId", getOrderId())
                .append("week", getWeek())
                .append("weekTag", getWeekTag())
                .append("time", getTime())
                .append("menuId", getMenuId())
                .append("mealId", getMealId())
                .append("typeId", getTypeId())
                .append("specId", getSpecId())
                .append("brandId", getBrandId())
                .append("num", getNum())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .toString();
    }
}
